package com.rerun.enums;

/**
 * 消息发送状态
 *
 * @author dax.
 * @version v1.0
 * @since 2017/11/1 11:08
 */

public enum MessageRecordsEnum {

    /**
     * 成功
     */
    SUCCESS("0", "成功"),

    /**
     * 失败
     */
    FAILURE("1", "失败");


    /** 主键 */
    private final String key;

    /** 描述 */
    private final String desc;


    MessageRecordsEnum(final String key, final String desc) {
        this.key = key;
        this.desc = desc;
    }

    /**
     * Gets key.
     *
     * @return the key
     */
    public String getKey() {
        return this.key;
    }

    /**
     * Gets desc.
     *
     * @return the desc
     */
    public String getDesc() {
        return this.desc;
    }

}
